package com.choose.seat.blog.dao;


import com.choose.seat.blog.domain.ContentDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 文章内容
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2017-10-03 16:17:48
 */
@Mapper
public interface ContentDao {

	ContentDO get(Long cid);

	List<ContentDO> list(Map<String,Object> map);

	int count(Map<String,Object> map);

	int save(ContentDO content);

	int update(ContentDO content);

	int remove(Long cid);

	int batchRemove(Long[] cids);
}
